package com.zjitc.service;


import com.zjitc.controller.UserController;
import com.zjitc.pojo.User;

import java.util.List;

/**
 * 用户管理逻辑类
 * @author Admin
 *
 */
public interface UserService {

	User getUser(String username);
	boolean isLogin(User user);
	List<User> getUsers(int role);
	void insert(User user);
	boolean delete(int index);
	boolean update(User user);
	User findOne(int id);
	User findByUserName(String username);
	List<UserController.BAH> findAllBAH(int id);
}
